package Entidades;
import java.io.Serializable;
import java.util.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="Lote")
public class Lote implements Serializable{
	private static final long serialVersionUID=1L;
	
	@Id @GeneratedValue(strategy=GenerationType.AUTO)
	@Column(nullable=false, name="idLote")
	private int idLote;
	
	@Temporal(TemporalType.DATE)
	@Column(nullable=false, name="fechaElab")
	private Date fechaElab;
	
	@Temporal(TemporalType.DATE)
	@Column(nullable=false, name="fechaVenc")
	private Date fechaVenc;
	
}
